Before.
FlowLayout
Manager
Our program will look better if it uses the FlowLayout
manager.
The FlowLayout
manager puts components into the frame
row by row in the
order they are added.
(Later on we will add more than one component).
It also picks reasonable sizes for components.
The FlowLayout
manager
is part of the java.awt
package.
Will the layout of a frame change if you add components to it in a different order?